Plancor           Package: none      R documentation

Function to find error in data. 

Description

Plancor looks for wrong data entrance. The user determines the class of each column, and function indicates mistakes at each column and their position. Besides, it shows possible outliers. 

Usage:

plancor(dados,num=0,int=0,logic=0,fact=0,char=0, out=0)

Arguments:

dados: data.framecontaininga set ofmonitoredindividualsassociated withlogicalvariables(eg: dead or alive)and continuous variables(eg:height, diameter,tree projectionandetc)
num: this argument indicates the position of the columns must be numeric
int: this argument indicates the position of the columns must be integer
logic: this argument indicates the position of the columns must be logical
fact: this argument indicates the position of the columns must be factor
char: this argument indicates the position of the columns must be character
out: if out=(number of numerical colunm) this argument indicates the values of any data points which lie beyond the extremes of the whiskers

Details

User must define the class of each column
Argument out is not available for non-numerical classes

Values

List of data.frames with mistakes at each data column and their position 
Values of any numerical data points which lie beyond the extremes of the whiskers

Author

Ricardo Bertoncello

Examples:

require(datasets)
data(iris)
head(iris)
str(iris)
mudar1<-sample(1:150, 10)
mudar2<-sample(1:150,10)
mudar3<-sample(1:150,4)
"iris[mudar1,1]<-c(""NA"", """", ""2,2"", 10000, -300)"
iris[mudar2,2]<-NA
"iris[mudar3,5]<-c(NA, """")"
erros.em.iris<-plancor(dados=iris,num=c(1:4),fact=5,out=1)
erros.em.iris

